home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / dos32xtn / inst_bin.bat < prev    next >
DOS Batch File  |  1996-09-20  |  1KB  |  33 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo     This batch installs the standart library + linker for DJGPP+DOS32.
  5. echo     It must be located in the DJGPP base dir.  The binary directory is
  6. echo     assumed to be BIN, the standart library LIB. It will overwrite the
  7. echo     old ld.exe and stubify.exe. THE NEW VERSIONS CAN STILL CREATE GO32
  8. echo     EXECUTABLES. A new  include directory  INCDOS32 and a new  library
  9. echo     directory  LIBDOS32 will  be created.  The djgpp environment  file
  10. echo     djgpp.env must also reside in the base dir.
  11. echo.
  12. if not exist bins.zip goto error1
  13. if exist bin\gcc.exe goto notrouble1
  14. echo    PROBLEMS TO INDENTIFY THE BIN DIRECTORY. PRESS #CRTL-BREAK# TO EXIT
  15. echo                          OR #RETURN# TO CONTINUE.
  16. pause
  17. :notrouble1
  18. if exist lib\libc.a goto notrouble2
  19. echo    PROBLEMS TO INDENTIFY THE LIB DIRECTORY. PRESS #CRTL-BREAK# TO EXIT
  20. echo                          OR #RETURN# TO CONTINUE.
  21. pause
  22. :notrouble2
  23. md LIBDOS32
  24. copy /B LIB\*.* LIBDOS32\
  25. pkunzip -d -o BINS.ZIP
  26. echo        --------========== INSTALLING DONE =========----------
  27. echo  Type swap to switch between dos32 and go32 output.
  28. goto end
  29. :error1
  30. echo            BINS.ZIP NOT FOUND ! Copy it to the djgpp base dir !
  31. goto end
  32. :end
  33.